<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CMutex类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_c_mutex-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CMutex类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>常规锁  
 <a href="class_c_mutex.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_mutex_8h_source.html">Mutex.h</a>&gt;</code></p>
<div class="dynheader">
类 CMutex 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_c_mutex.png" usemap="#CMutex_map" alt=""/>
  <map id="CMutex_map" name="CMutex_map">
<area href="class_c_mutex_base.html" title="锁基类" alt="CMutexBase" shape="rect" coords="0,0,83,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a9c050f1451600e8bc35c4c80f6533800"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex.html#a9c050f1451600e8bc35c4c80f6533800">CMutex</a> ()</td></tr>
<tr class="separator:a9c050f1451600e8bc35c4c80f6533800"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43fa2c418e6ec1ede656c8b9c4767494"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex.html#a43fa2c418e6ec1ede656c8b9c4767494">~CMutex</a> ()</td></tr>
<tr class="separator:a43fa2c418e6ec1ede656c8b9c4767494"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af673eb768848738ed476d4ce2e2eb443"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex.html#af673eb768848738ed476d4ce2e2eb443">Lock</a> ()</td></tr>
<tr class="separator:af673eb768848738ed476d4ce2e2eb443"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0a6922590d43c88d9343feac2ccba2c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex.html#ac0a6922590d43c88d9343feac2ccba2c">Unlock</a> ()</td></tr>
<tr class="separator:ac0a6922590d43c88d9343feac2ccba2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef8094fb14fbccf8e095b162ba90dade"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex.html#aef8094fb14fbccf8e095b162ba90dade">Handle</a> ()</td></tr>
<tr class="separator:aef8094fb14fbccf8e095b162ba90dade"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_c_mutex_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_c_mutex_base')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_c_mutex_base.html">CMutexBase</a></td></tr>
<tr class="memitem:a00ead3b5e2f2712c0ba9fd9a81e37796 inherit pub_methods_class_c_mutex_base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#a00ead3b5e2f2712c0ba9fd9a81e37796">CMutexBase</a> ()</td></tr>
<tr class="separator:a00ead3b5e2f2712c0ba9fd9a81e37796 inherit pub_methods_class_c_mutex_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a010cf0579d1577a0e5556b3be75673e6 inherit pub_methods_class_c_mutex_base"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#a010cf0579d1577a0e5556b3be75673e6">~CMutexBase</a> ()</td></tr>
<tr class="separator:a010cf0579d1577a0e5556b3be75673e6 inherit pub_methods_class_c_mutex_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:afe2625b85da760a82ef3fa2fc1814eb5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex.html#afe2625b85da760a82ef3fa2fc1814eb5">delete_class_copy_operator</a> (<a class="el" href="class_c_mutex.html">CMutex</a>)</td></tr>
<tr class="separator:afe2625b85da760a82ef3fa2fc1814eb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:aed1ca9921a072b197627c7ccbcf5bfb5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex.html#aed1ca9921a072b197627c7ccbcf5bfb5">_mutex</a></td></tr>
<tr class="separator:aed1ca9921a072b197627c7ccbcf5bfb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>常规锁 </p>

<p class="definition">在文件 <a class="el" href="_mutex_8h_source.html">Mutex.h</a> 第 <a class="el" href="_mutex_8h_source.html#l00025">25</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a9c050f1451600e8bc35c4c80f6533800"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c050f1451600e8bc35c4c80f6533800">&#9670;&nbsp;</a></span>CMutex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CMutex::CMutex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_mutex_8cpp_source.html">Mutex.cpp</a> 第 <a class="el" href="_mutex_8cpp_source.html#l00009">9</a> 行定义.</p>

</div>
</div>
<a id="a43fa2c418e6ec1ede656c8b9c4767494"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43fa2c418e6ec1ede656c8b9c4767494">&#9670;&nbsp;</a></span>~CMutex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMutex::~CMutex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_mutex_8cpp_source.html">Mutex.cpp</a> 第 <a class="el" href="_mutex_8cpp_source.html#l00014">14</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="afe2625b85da760a82ef3fa2fc1814eb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe2625b85da760a82ef3fa2fc1814eb5">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMutex::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_mutex.html">CMutex</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aef8094fb14fbccf8e095b162ba90dade"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef8094fb14fbccf8e095b162ba90dade">&#9670;&nbsp;</a></span>Handle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> CMutex::Handle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="class_c_mutex_base.html#aeeb8e3603ae7ecabdf7fc9103295d565">CMutexBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_mutex_8cpp_source.html">Mutex.cpp</a> 第 <a class="el" href="_mutex_8cpp_source.html#l00035">35</a> 行定义.</p>

</div>
</div>
<a id="af673eb768848738ed476d4ce2e2eb443"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af673eb768848738ed476d4ce2e2eb443">&#9670;&nbsp;</a></span>Lock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CMutex::Lock </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="class_c_mutex_base.html#ac23d438cd5b38643a222bcb74adbb604">CMutexBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_mutex_8cpp_source.html">Mutex.cpp</a> 第 <a class="el" href="_mutex_8cpp_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<a id="ac0a6922590d43c88d9343feac2ccba2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0a6922590d43c88d9343feac2ccba2c">&#9670;&nbsp;</a></span>Unlock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CMutex::Unlock </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="class_c_mutex_base.html#abd6a9da2d294b50fc9651c1be6b7e808">CMutexBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_mutex_8cpp_source.html">Mutex.cpp</a> 第 <a class="el" href="_mutex_8cpp_source.html#l00029">29</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="aed1ca9921a072b197627c7ccbcf5bfb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed1ca9921a072b197627c7ccbcf5bfb5">&#9670;&nbsp;</a></span>_mutex</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> CMutex::_mutex</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_mutex_8h_source.html">Mutex.h</a> 第 <a class="el" href="_mutex_8h_source.html#l00035">35</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/thread/<a class="el" href="_mutex_8h_source.html">Mutex.h</a></li>
<li>H:/project/LibTools/src/thread/<a class="el" href="_mutex_8cpp_source.html">Mutex.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
